package com.artwork.service;

import com.artwork.model.Ticket;

import java.util.List;

/**
 * @Author JoJo
 * @Data 2021/9/9$ 15:02$
 * @Description
 * @Param $
 * @Return $
 */
public interface TicketService {

    List<Ticket> getList();

    List<Ticket> getUserList(int userId);

    int addTicket(Ticket ticket);

    int updateTicket(Ticket ticket);

    Ticket getTicket(int id);

    int deleteticket(int id);
}
